import React from 'react';
import { View, Text } from 'react-native';
import { TabNavigator } from 'react-navigation';
import HomeScreen from './modules/Home';


// const HomeScreen = () => (
//
// );

const ProfileScreen = () => (
    <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
        <Text>Profile Screen</Text>
    </View>
);

const RootTabs = TabNavigator({
    Home: {
        screen: HomeScreen,
        navigationOptions:{
            tabBarLabel: '首页',
        }
    },
    Profile: {
        screen: ProfileScreen,
        navigationOptions:{
            tabBarLabel: '我的',
        }
    },
});

export default RootTabs;